% Run the "Dots 2afcTask" demo for Snow Dots.
clear
clear classes

% access the manager for doing drawing
%   configure all the objects that make up the 2afc task
dotsTheDrawablesManager.reset('serverMode', false, 'clientMode', false);
[tree, list] = configureDots2afcTask;

% visualize the task's structure
% tree.gui;

%% execute the 2afc task but run()ning the top-level tree object
commandwindow;
tree.run;